package entity

import (
	"shqsoft.cn/pasnj/base"
)

//IndiClieFlow 零售
type IndiClieFlow struct {
	ID     int    `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	OPDT   string `gorm:"column:OPDT;"`
	IDNO   string `gorm:"column:IDNO"`
	CUNM   string `gorm:"column:CUNM;"`
	UTNM   string `gorm:"column:UTNM;"`
	ISDIVI bool   `gorm:"column:ISDIVI;"` //是否认定
	ISXJK  bool   `gorm:"column:ISXJK;"`  //是否小京卡
}

//TableName 表名
func (IndiClieFlow) TableName() string {
	return "V_INDI_CLIE_FLOW"
}

func IndiClieFlowEF() base.EntityFunc {
	return func() interface{} {
		entity := IndiClieFlow{}
		return &entity
	}
}
func IndiClieFlowESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []IndiClieFlow
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("IndiClieFlow", base.NewDefaultDao(IndiClieFlowEF(), IndiClieFlowESF(), nil))
}
